﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using ELMWCFServiceClass.ELMWCF;
using ELMApplication.Common.Const;

namespace UserLoginModule.Views.AddUserView
{
    public partial class AddUserView : UserControl,IAddUserView
    {
        private IAddUserPrentationModel model;
        public AddUserView()
        {
            InitializeComponent();
            this.Loaded += new RoutedEventHandler(AddUserView_Loaded);
           
        }

      
        void AddUserView_Loaded(object sender, RoutedEventArgs e)
        {
            model.initialData();
           
        }

       

        #region IAddUserView Members

        public void SetModel(IAddUserPrentationModel model)
        {
            this.DataContext = this.model=model;
            model.ELMListData = hmList;
        }
        
        #endregion

       

       
    }
}
